define(function(require, exports, module) {

	var $ = require('jquery');
	var List = require('../util/list');
	require('artTemplate/artTemplate/2.0.1/template.js');
	require('seajs/seajs/2.1.1/sea.js');

	exports.options = {
		listLink : '',
		listParams : '',
		pageLink : '',
		pageParams : ''
	};
	
	exports.showDepositList = function showDepositList(actionType) {
		var depositList = new List();
		depositList.options.template = "depositList-template";
		depositList.options.container = "#depositList";
		depositList.options.links = { "list" : $CONFIG.base_url + "/api/admin/deposit/list" };
		depositList.options.params = {"actionType" : actionType,"s":10,"p":1};
		depositList.load();
	};
	$(document).ready(function(data) {
		exports.showDepositList(1);

	});
	$("#deposit").click(function() {
		exports.showDepositList(1);
	});
});